package com.ysd.entity;

public class Banner { // 实体类,私有属性 + getset方法 + (带参/无参)构造方法 + toString
	private int bannerId;
	private String bannerImg;

	public int getBannerId() {
		return bannerId;
	}

	public void setBannerId(int bannerId) {
		this.bannerId = bannerId;
	}

	public String getBannerImg() {
		return bannerImg;
	}

	public void setBannerImg(String bannerImg) {
		this.bannerImg = bannerImg;
	}

	public Banner(int bannerId, String bannerImg) {
		super();
		this.bannerId = bannerId;
		this.bannerImg = bannerImg;
	}

	public Banner() {
		super();
	}

	@Override
	public String toString() {
		return "Banner [bannerId=" + bannerId + ", bannerImg=" + bannerImg + "]";
	}

}
